package xyz.xmh.pattern.behavioral.nullobjectpattern;

/**
 * @author Administrator
 * <p>
 * 实现了顾客抽象类的真实顾客类
 */
public class RealCustomer extends AbstractCustomer {

    public RealCustomer(String name) {
        this.name = name;
    }

    @Override
    public boolean isEmpty() {
        return false;
    }

    @Override
    public String getName() {
        return name;
    }
}
